package com.greak.netty_stude.module;

import com.greak.netty_stude.pb.ClusterMessage;
import com.greak.netty_stude.proto.ProtobufMessage;
import lombok.Builder;
import lombok.Data;

import java.util.List;

/**
 * Created on 2019/5/14.
 *
 * @author hy
 * @since 1.0
 */
@ProtobufMessage
public enum UserEnum {

    NUMBER_ONE(1,"one"),
    NUMBER_tow(2, "tow");

    private String name;

    private int id;

    UserEnum(int id, String name){
        this.id = id;
        this.name = name;
    }

}
